import { http } from '@/http/http'
import {
  IGetMedicineOrderListRequest,
  IGetMedicineOrderListResponse
} from './types/medicineOrder'

/**
 * 获取药品订单列表
 * @param params 查询参数
 */
export function getMedicineOrderList(params: IGetMedicineOrderListRequest) {
  return http.get<IGetMedicineOrderListResponse>('/patient/medicine/order/mylist', params)
}